package com.bgrconsulting.stockorderentry.service.converter.response;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.bgrconsulting.stockorderentry.service.model.response.GetOrderListResponse;
import com.bgrconsulting.stockorderentry.service.model.response.OrderListResponse;


@XmlRootElement(name = "GetOrderListResponse")
public class GetOrderListResponseConverter {
	
	private GetOrderListResponse enity;
	
	public GetOrderListResponseConverter(GetOrderListResponse getOrderListResponse) {
		this.enity = getOrderListResponse;
	}
	
	public GetOrderListResponseConverter() {
		this.enity = new GetOrderListResponse();
	}
	
	@XmlElement(name = "orderListResponse")
	public OrderListResponseConverter getOrderListResponseConverter() {
		
		return new OrderListResponseConverter(this.enity.getOrderListResponse());
	}
}
